package com.tengfei.reflection;

/**
 * @Description:
 * @author: ten_fei
 * @date: 2021-07-15 11:37
 */
public class Test3 {

    public static void main(String[] args) {
        A a = new A();
        System.out.println(A.m);
    }

}

class A {
    static {
        System.out.println("A类静态代码块初始化");
        m = 200;
    }

    static int m = 100;

    public A() {
        System.out.println("A类的无参构造");
    }
}